package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

/**
 * 孙子书院扩建
 */
@FieldTypeAnnotation(tableName = "t_l_ck_grand_child_open_school_site", desc = "山庄书院扩建日志", autoSave = true, uploadCk = true)
public class LogGrandChildOpenSchoolSite extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "类型")
    private int type;
    @FieldTypeAnnotation(desc = "上次数量")
    private int oldCount;
    @FieldTypeAnnotation(desc = "新数量")
    private int newCount;

    public LogGrandChildOpenSchoolSite(long userId, int type, int oldCount, int newCount) {
        this.userId = userId;
        this.type = type;
        this.oldCount = oldCount;
        this.newCount = newCount;
    }

    public long getUserId() {
        return userId;
    }

}
